﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html>
<head><link rel="stylesheet" href="${ctx}/common/common.css">
<meta charset="utf-8">
<title>生产溯源监管平台</title>
		<link href="${ctx}/common/login/css/canyin-login.css" rel="stylesheet"  type="text/css">
		<script type="text/javascript" src="${ctx}/common/publicPlatform/js/jquery-1.11.1.min.js"></script>
</head>
<style>

.form input{
		height: 44px;
		line-height: 38px;
}
	
</style>
<script>
        if(window.top!==window.self){window.top.location=window.location};
</script>
<body>

<!--登录页-->

	<div class="center">
			<div class="login-box">
				<h1 class="title">账号登录</h1>
				<div class="err" >
						<!--校验信息弹出框-->
						<p>${LOGIN_ERROR_MESSAGE}</p>
				</div>
				<ul class="accountForm form">
				 <form id="loginForm"  method="post" action="${ctx}/login">
					<li>
						<input type="text" name="login_name" autocomplete="off"  class="in" placeholder="请输入帐号">
					</li>
					<li>
						<input type="password" name="password" autocomplete="off" class="in" placeholder="请输入密码">
					</li>
					<!-- <li style="overflow: hidden;">
						<input type="text" class="code in" placeholder="请输入验证码" style="width: 188px;margin-right: 10px;float: left;">
						<img class="code-img btnCode" alt="验证码" title="点击刷新验证码" src="">
					</li> -->
					<li>
						<input type="hidden"  class="redirectURL in" value="">
						<div onclick="login()" class="AccSubmit submit tc" style="cursor: pointer;">登录</div>
					</li>
				 </form>
				</ul>
				<!-- <div class="footer">
					<ul class="tabs">
						<li><label for="tab3"><a href="#">注册</a></label></li>
					</ul>
					<p class="tips">
						<a href="javascript:;" class="r resetpwd">忘记密码？</a>
					</p>
				</div> -->
			</div>
		</div>

<!-- 你可以添加个多“.slideshow-image”项目, 记得修改CSS -->
<div class="slideshow">
	<div class="slideshow-image" style="background-image: url('${ctx}/common/login/img/1.jpg')"></div>
	<div class="slideshow-image" style="background-image: url('${ctx}/common/login/img/2.jpg')"></div>
	<div class="slideshow-image" style="background-image: url('${ctx}/common/login/img/3.jpg')"></div>
	<div class="slideshow-image" style="background-image: url('${ctx}/common/login/img/4.jpg')"></div>
</div>
<script type="text/javascript">
var msg='${LOGIN_ERROR_MESSAGE}';
if( msg!='' ){
	$(".err").find("p").css("display","block");
}
function login(){
	document.getElementById('loginForm').submit();
}

</script>
</body>
</html>



